<template>
  <div id="layout">

    <Button  class="btn-enter" @click="GoHome">
      <span>
      <IconSvg iconClass="jinru"></IconSvg>进入系统</span></Button
    >
    <iframe
      src="http://47.103.52.61:81/"
      width="100%"
      height="100%"
      frameborder="0"
      id="iframename"
      name="iframename"
    ></iframe>
    <!-- </Content> -->
  </div>
</template>

<style></style>

<script>
export default {
  // 使用时请使用 :url.sync=""传值

  mounted() {},

  methods: {
    ToLogin() {
      if (localStorage.isLogin === "true") {
        localStorage.clear();
        this.$router.push("/");
      } else {
        this.$router.push("/");
      }
    },
    GoHome() {
      this.$router.push("/Welcome");
    },
  },
};
</script>

<style lang="less" scoped>


#iframename {
  position: relative;
  height: 100%;
  // top: -3px;
}
#layout-content {
  margin-top: 6px;
  width: 100%;
  position: relative;
  height: 100%;

}

#layout {
  width: 100%;
  overflow: hidden;
  height: 100%;
  // position: absolute;
}
.btn-enter {
  position: absolute;
  left: 700px;
  top: 20px;
  z-index: 2;
  color: #f5f7f9;
  // border: 1px solid #d7dde4;
  // border-radius: 4px;
  width: 6.71rem;
  height: 2.42rem;
  font-size: 14px;
  border: none;
  box-shadow: none;
  background: url()
    no-repeat center;
  background-size: auto;
  background-size: cover;
}
</style>
